using System;
using System.Collections.Generic;
using System.Text;

namespace Colorprj.Masters
{
    public class SalesMan
    {

        private int _SalesManId = -1;
        public int SalesManId
        {
            get
            {
                return _SalesManId;
            }
            set
            {
                _SalesManId = value;
            }
        }

        private string _SalesManName = "";
        public string SalesManName
        {
            get
            {
                return _SalesManName;
            }
            set
            {
                if (string.IsNullOrEmpty(value.Trim())) throw new Exception("Party Name Can Not be null");
                _SalesManName = value;
            }
        }

        private string _SalesManAddress1 = "";
        public string SalesManAddress1
        {
            get
            {
                return _SalesManAddress1;
            }
            set
            {
                _SalesManAddress1 = value;
            }
        }


        private string _SalesManAddress2 = "";
        public string SalesManAddress2
        {
            get
            {
                return _SalesManAddress2;
            }
            set
            {
                _SalesManAddress2 = value;
            }
        }

        private string _SalesManCity = "";
        public string SalesManCity
        {
            get
            {
                return _SalesManCity;
            }
            set
            {
                _SalesManCity = value;
            }
        }

        private string _PhoneNo = "";
        public string PhoneNo
        {
            get
            {
                return _PhoneNo;
            }
            set
            {
                _PhoneNo = value;
            }
        }

        private string _EmailId = "";
        public string EmailId
        {
            get
            {
                return _EmailId;
            }
            set
            {
                _EmailId = value;
            }
        }

    }
}
